<script type="text/javascript" src="md5.js"></script>
<script type="text/javascript" >
  var a = hex_md5("00-24-81-3A-00-04");
  alert(a);
</script> 